<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>申请建站 - ${site.name}</title>
<meta http-equiv="keywords" content="申请建站"/>
<meta http-equiv="description" content="申请建站"/>
[#include "../include/meta.html"/]
</head>

<body>
<!--header_begin-->
[#include "../include/headdiv.html"/]
<!--header_end-->

<div class="tbody blockw">
 <div class="blockn">
  <div class="warp1">
   	[#include "../include/warp1.html"/]
  </div>
  
  <div class="mar2"></div>
  <div class="pleft fl">
 
        
    <div class="bd1 pd1 mar1" style=" margin-top: 0px ! important;">
    	 [#include "../include/contactdiv.html"/]
    </div>    
  </div>
  <div class="pright fr">
  
   <div class="gb-box mt10">
			         	   <div class="w96">
			              	     <div class="gb-tit">
			                   	 申请建站</div>
			                    <div class="gb-book">
			                   	  <form id="orderForm" action="${base}/order.jspx" method="post">
			                         <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#EAEAEA">
			                           <tr>
			                             <td width="15%" height="30" align="right" bgcolor="#fafafa"><strong>公司名称：</strong></td>
			                             <td width="32%" bgcolor="#FFFFFF">
			                             	<input type="text" name="companyName"  maxlength="100"/>
			                                 </td>
			                             <td width="15%" align="right" bgcolor="#FAFAFA"><strong>电子邮箱：</strong></td>
			                             <td width="34%" bgcolor="#FFFFFF"><input type="text" name="email" class="email" maxlength="100"/></td>
			                           </tr>
			                           <tr>
			                             <td width="15%" height="30" align="right" bgcolor="#fafafa"><strong>电  话：</strong></td>
			                             <td width="32%" bgcolor="#FFFFFF"><input type="text" name="phone" maxlength="50"/></td>
			                             <td width="15%" align="right" bgcolor="#FAFAFA"><strong>QQ：</strong></td>
			                             <td width="34%" bgcolor="#FFFFFF"><input type="text" name="qq"/></td>
			                           </tr>
			                           <tr>
			                             <td width="15%" height="30" align="right" bgcolor="#fafafa"><strong>建站类型：</strong></td>
			                             <td colspan="3" bgcolor="#FFFFFF"><input name="title" type="text" size="40" class="required" maxlength="255"/></td>
			                             </tr>
			                           <tr>
			                             <td width="15%" height="80" align="right" bgcolor="#fafafa"><strong>建站要求：</strong></td>
			                             <td colspan="3" bgcolor="#FFFFFF">
			                             <textarea name="content" class="cinput required" cols="55" rows="4" style="width:300px;"></textarea></td>
			                             </tr>
			                           <tr>
			                             <td width="15%" height="80" align="right" bgcolor="#fafafa"><strong>验证码：</strong></td>
			                             <td colspan="3" bgcolor="#FFFFFF">
			                            <input type="text" name="captcha" class="required" maxlength="20"/> 
			                            <img id="guestbookCaptcha" src="${base}/captcha.svl" onclick="this.src='${base}/captcha.svl?d='+new Date()"/>
			                              </td>
			                             </tr>
			                           <tr>
			                             <td height="30" colspan="4" align="center" bgcolor="#FFFFFF">
			                               <input type="image"  src="${base}/${res}/images/guestbook/gb-button.gif" name="submit" />
			                             </td>
			                           </tr>
			                         </table>
			                     </form>                                           
							  <script type="text/javascript">
			                           $(function() {
			                               $("#orderForm").validate( {
			                                   submitHandler : function(form) {
			                                       $(form).ajaxSubmit( {
			                                           "success" : function(data) {
			                                               if(data.status==0) {
			                                                   alert("申请成功,请等待客服与你联系");
			                                                   location.href=location.href;
			                                               } else if(data.status==1) {
			                                                   alert("验证码错误");
			                                                   $("#guestbookCaptcha").click();
			                                               } else {
			                                                   alert("申请失败");
			                                               }
			                                           },
			                                           "dataType" : "json"
			                                       });
			                                   }
			                               });
			                           });
			                           </script> 
			                </div>
			              </div>
			         </div>
  
  </div>
  <div class="cf"></div>
  
 
  
 </div> 
</div>

<!--foot_begin-->
[#include "../include/footdiv.html"/]
<!--foot_end-->

</body>
</html>